<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="./static/vue/2.6.10/vue.js" type="text/javascript"></script>
    <title>Title</title>
</head>
<body>
    <div id="app-4">
        <ol>
            <li v-for="todo in todos">
                {{todo.text}}
            </li>
        </ol>
    </div>

    <script type="text/javascript">
        let vm = new Vue({
            el: '#app-4',
            data: {
                todos: [
                    {text: '学习 JavaScript'},
                    {text: '学习 Css'},
                    {text: '学习 Vue'},
                    {text: '整个牛项目'}
                ]
            }
        });
    </script>
</body>
</html>